package com.lap.auth.application.module.dto;

import com.lap.framework.common.dto.AbstractDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "项目数据传输")
public class ModuleDto extends AbstractDto {

  @Schema(description = "唯一标识")
  private Integer id;

  @Schema(description = "模块路由")
  private String routeId;

  @Schema(description = "模块名称")
  private String name;

  @Schema(description = "模块类型:0-对内,1-对外")
  private Integer type;

  @Schema(description = "模块状态:0-禁用,1-启用")
  private Integer status;

  @Schema(description = "数据版本")
  private Integer version;
}
